package com.wbcs.system.buttons;

import com.wbcs.config.component.IComponentConfigBean;
import com.wbcs.system.ReportRequest;
import com.wbcs.util.Consts;
import com.wbcs.util.Consts_Private;

public class UpdateButton extends AbsEditableReportButton
{

    public UpdateButton(IComponentConfigBean ccbean)
    {
        super(ccbean);
    }

    @Override
	public String getButtonType()
    {
        return Consts_Private.MODIFY_BUTTON;
    }

    @Override
	protected String getClickEvent(ReportRequest rrequest,String paramsForGetUrl)
    {
        return "changeReportAccessMode('"+ccbean.getGuid()+"','"+Consts.UPDATE_MODE+"')";
    }
}
